package myschool.dao;

import myschool.entity.Grade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author oldliu
 * @since 1.0
 */
public interface GradeDao {
    List<Grade> findAll();
    List<Grade> find(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);
    int findTotal();

    Grade get(Long id);
}
